package com.codepoem.designpattern.factorymethod

import com.codepoem.designpattern.simplefactory.Operation
import com.codepoem.designpattern.simplefactory.OperationAdd

/**
 * 加法运算工厂
 */
class OperationAddFactory :IOperationFactory{

    override fun createOperation(): Operation {
        return OperationAdd()
    }

}